package com.xxx.service;

import java.util.List;

import com.xxx.bean.Demo;
import com.xxx.bean.User;
import com.xxx.ds.DataSource;

/**
 * demo service接口
 * 
 * 
 * 
 */
public interface DemoService {

	@DataSource("slave") 
	List<Demo> getAllRecords(Integer orgId);

	int testTx();

	int doVideo();

	String testResult();

	User getUserById(int id);

	int insertUser(User user);
	
}
